package com.wenheng.client;

import com.wenheng.vo.entity.EasybuyOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * @Auther: 文恒
 * @Date: 2021/3/31 - 03 - 31 -16:46
 * @Description:com.wenheng.config
 * @version:1.0
 */
@FeignClient("order")
@Component
public interface OrderClient {
    //查询对应的订单信息
    @GetMapping("/order/findOrderInfo")
    Map<String,Object> findOrderInfo(@RequestParam("orderNum") String orderNum);
}
